Method of power amplifier calibration

ABSTRACT

The exemplary embodiments include methods, computer readable media, and devices for calibrating a non-linear power detector of a radio frequency device based upon measurements of the non-linear power detector output and the associated power amplifier output level, and a set of data points that characterize a nominal non-linear power detector. The set of data points that characterize the nominal non-linear power detector is stored in a calibration system memory as nominal power detector output data. The measured non-linear power detector outputs, power amplifier output levels, and the nominal power detector output data is used to determine a power detector error function that characterizes the difference between the response of the non-linear power detector and the nominal non-linear power detector. The power detector error function and the nominal power detector output data are used to develop a calibrated power detector output data set that is stored in the non-linear power detector.

RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 13/150,346, filed Jun. 1, 2011, the disclosure of which is incorporated herein by reference in its entirety, now U.S. Pat. No. ______.

This application claims the benefit of U.S. provisional patent application No. 61/350,325, filed Jun. 1, 2010, the disclosure of which is incorporated herein by reference in its entirety.

FIELD OF THE DISCLOSURE

The embodiments disclosed herein are related to calibration of radio frequency RF devices. In particular, the embodiments disclosed herein are related to calibration of RF devices having a non-linear power detector.

BACKGROUND

Traditionally, factory calibration of a radio frequency (RF) device having a linear power detector and an RF power amplifier requires measurements of the output power delivered by the RF power amplifier to a load, such as an antenna, and the power detector output voltage output. If the power detector is an idealized linear detector, the liner power detector may be characterized by measuring a first power detector output voltage at a first output power level and a second power detector output voltage at a second output power level. However, if the power detector is a non-linear power detector, a substantially higher number of measurements are typically required to characterize and calibrate the response of the non-linear power detector. As a result, the factory calibration of the RF device having a non-linear power detector may result in slower production rates or increased investment in calibration equipment.

Accordingly, there is a need to develop apparatuses and techniques to quickly characterize the non-linear response of a non-linear power detector of an RF device in order to calibrate the radio frequency power amplifier.

SUMMARY

Embodiments disclosed in the detailed description relate to apparatuses, computer readable media, and methods to quickly calibrate radio frequency devices that use a non-linear power detector to control the output power of a radio frequency power amplifier. As an example, one embodiment of a system for calibrating a non-linear power detector of a radio frequency device may use measurements of the non-linear power detector output and the associated RF power amplifier output level and a set of data points that characterizes a nominal non-linear power detector to calibrate the radio frequency device. The set of data points that characterizes the nominal non-linear power detector may be stored in a memory of a calibration system as nominal power detector output data. The measured non-linear power detector outputs, measured power amplifier output levels, and the nominal power detector output data may be used to determine a power detector error function that characterizes the difference between the response of the non-linear power detector and the nominal non-linear power detector. The power detector error function and the nominal power detector output data may be used to develop a calibrated power detector output data set. The calibrated power detector output data may be stored in the non-linear power detector in order to calibrate the non-linear power detector.

One embodiment of a method for calibrating an electronic device includes providing a nominal data set including a plurality of nominal response data points. The plurality of nominal response data points may include a plurality of nominal input levels and a corresponding plurality of nominal output levels that characterize a desired response curve for the electric device. The method may further include obtaining a plurality of measured response data points, wherein each of the measured response data points includes a measured input level and a measured output level that corresponds to the measured input level. The method may further include adjusting the nominal data set based on the measured response data points and the nominal data set to generate a calibrated data set. The method may further include storing the calibrated data set in the electronic device to calibrate the electronic device.

Another embodiment of a method for calibrating a radio frequency device having a non-linear power detector may include providing nominal power detector output data including nominal power detector outputs and nominal power amplifier outputs to a calibration system, where each of the nominal power detector outputs is associated with one of the nominal power amplifier outputs. To calibrate the radio frequency device, the calibration system may instruct the radio frequency device to generate power amplifier output levels. For each of the power amplifier output levels generated by the radio frequency device, the calibration system may obtain a power detector output of the non-linear power detector and a power amplifier output of the radio frequency device that corresponds to the power detector output of the radio frequency device. The calibration system associates, for each of the power amplifier output levels generated by the radio frequency device, each power detector output of the non-linear power detector to one of the nominal power detector outputs based upon the power amplifier output of the radio frequency device that corresponds to the power detector output of the non-linear power detector. The calibration system calculates, for each power detector output of the non-linear power detector associated with one of the nominal power detector outputs, a measured power detector output error of measured power detector output errors based upon a difference between the power detector output and the one of the nominal power detector outputs associated with the power detector output, wherein each measured power detector output error is associated with one of the nominal power amplifier outputs. The calibration system calculates, for each of the plurality of nominal power detector outputs that is unassociated with one of the plurality of measured power detector output errors, a calculated power detector output error of a plurality of calculated power detector output errors based upon the plurality of measured power detector output errors and the plurality of nominal power amplifier outputs associated with the measured power detector output errors; wherein each calculated measured power detector output error is associated with one of the nominal power amplifier outputs. The calibration system generates calibrated power detector output data based upon the nominal power detector output data, the calculated power detector output errors, and the measured power detector output errors. The calibration system stores the calibrated power detector output data in the radio frequency device to calibrate the radio frequency device.

Another embodiment of a method for calibrating a radio frequency output of a radio frequency device having a non-linear power detector includes providing calibration system nominal power detector output data for a non-linear power detector of the radio frequency device to be calibrated. The nominal power detector output data may include nominal power detector outputs and nominal power amplifier outputs. Each of the nominal power detector outputs is associated with one of the nominal power amplifier outputs. The calibration system instructs the radio frequency device to generate a power amplifier output levels. The calibration system obtains, for each power amplifier output level of the power amplifier output levels, a power detector output of the non-linear power detector and a power amplifier output of the radio frequency device that correspond to the power amplifier output level, wherein each power amplifier output of the radio frequency device is associated with the power amplifier output level. The calibration system associates, for each power amplifier output level, the power detector output of the non-linear power detector to one of the nominal power detector outputs of the nominal power detector output data based upon the power amplifier output of the radio frequency device that corresponds to the power detector output of the non-linear power detector. The calibration system calculates, for each power detector output of the non-linear power detector associated with one of the nominal power detector outputs, a power detector output error based upon a difference between the power detector output level and the one of the nominal power detector outputs associated with the power detector output, wherein each power detector output error is associated with the one of the nominal power amplifier outputs. The calibration system determines a power detector error function based upon the power detector output errors and the associated ones of the nominal power amplifier outputs. The calibration system generates, for each nominal power amplifier output provided by the nominal power detector output data, calibrated power detector output data based upon the nominal power detector output data and the power detector error function. The calibration system stores the calibrated power detector output data in the radio frequency device to calibrate the radio frequency device.

Another embodiment of a calibration system includes a tangible computer readable medium embodying a program for using nominal power detector output data including nominal power detector outputs and nominal power amplifier outputs, where each of the nominal power detector outputs is associated with one of the nominal power amplifier outputs to calibrate a radio frequency device. The tangible computer medium includes computer executable instructions to calibrate a radio frequency output of a radio frequency device, wherein the computer executable instructions to configure the calibration system to command the radio frequency device to generate power amplifier output levels. The instructions further configure the calibration system to obtain, for each of the power amplifier output levels generated by the radio frequency device, a power detector output of the non-linear power detector and a power amplifier output of the radio frequency device that correspond to the power detector output of the non-linear power detector. The instructions further configure the calibration system to associate, for each of the power amplifier output levels generated by the radio frequency device, the power detector output of the non-linear power detector to one of the nominal power detector outputs based upon the power amplifier output of the radio frequency device that corresponds to the power detector output of the non-linear power detector. The instructions further configure the calibration system to calculate, for each power detector output of the non-linear power detector associated with one of the nominal power detector outputs, a measured power detector output error based upon a difference between the power detector output and the one of the nominal power detector outputs associated with the power detector output; wherein each measured power detector output error is associated with one of the nominal power amplifier outputs. The instructions further configure the calibration system to calculate, for each of the nominal power detector outputs that is unassociated with one of the measured power detector output errors, a calculated power detector output error based upon the measured power detector output errors and the nominal power amplifier outputs associated with the measured power detector output errors, wherein each calculated measured power detector output error is associated with one of the nominal power amplifier outputs. The instructions further configure the calibration system to generate calibrated power detector output data based upon the nominal power detector output data, the calculated power detector output errors, and the measured power detector output errors. The instructions further configure the calibration system to store the calibrated power detector output data in the radio frequency device to calibrate the radio frequency device.

Another embodiment of a calibration system includes a tangible computer readable medium embodying a program for using nominal power detector output data including nominal power detector outputs and nominal power amplifier outputs, where each of the nominal power detector outputs is associated with one of the nominal power amplifier outputs to calibrate a radio frequency device. The tangible computer medium includes computer executable instructions to calibrate a radio frequency output of a radio frequency device, wherein the computer executable instructions configure the calibration system to instruct the radio frequency device to generate a power amplifier output levels. The instructions further configure the calibration system to obtain, for each power amplifier output level of the power amplifier output levels, a power detector output of the non-linear power detector and a power amplifier output of the radio frequency device that correspond to the power amplifier output level, wherein each power amplifier output of the radio frequency device is associated with the power amplifier output level. The instructions further configure the calibration system to associate, for each power amplifier output level, the power detector output of the non-linear power detector to one of the nominal power detector outputs of the nominal power detector output data based upon the power amplifier output of the radio frequency device that corresponds to the power detector output of the non-linear power detector. The instructions further configure the calibration system to calculate, for each power detector output of the non-linear power detector associated with one of the nominal power detector outputs, a power detector output error based upon a difference between the power detector output level and the one of the nominal power detector outputs associated with the power detector output, wherein each power detector output error is associated with the one of the nominal power amplifier outputs. The instructions further configure the calibration system to determine a power detector error function based upon the power detector output errors and the associated ones of the nominal power amplifier outputs. The instructions further configure the calibration system to generate, for each nominal power amplifier output provided by the nominal power detector output data, a calibrated power detector output data based upon the nominal power detector output data and the power detector error function. The instructions further configure the calibration system to store the calibrated power detector output data in the radio frequency device to calibrate the radio frequency device.

Another embodiment of a method for calibrating an electronic device having a feedback circuit may include providing nominal response curve data to a calibration system used to calibrate the electronic device. The nominal response curve data may include nominal feedback outputs and nominal device outputs, where each of the nominal feedback outputs is associated with one of the nominal device outputs. The calibration system may instruct the electronic device to generate device output levels. For each device output level of the device output levels, the calibration system may obtain a measured feedback output and a measured device output of the electronic device that correspond to the device output level, wherein each measured device output of the electronic device is associated with the device output level. The calibration system may associate, for each device output level, the measured feedback output of the feedback circuit to one of the nominal feedback outputs of the nominal response curve data based upon a correspondence between the measured device output of the electronic device and one of the nominal feedback outputs in the nominal response curve data. The calibration system may calibrate, for each measured feedback output, a feedback output error based upon a difference between the measured feedback output and the one of the nominal feedback outputs associated with the measured feedback output, wherein each feedback output error is associated with the one of the nominal device outputs. The calibration system may determine a feedback error function based upon the feedback output errors and the associated ones of the nominal device outputs. The calibration system may generate, for each nominal device output provided by the nominal response curve data, calibrated response curve data based upon the nominal response curve data and the feedback error function. The calibration system may store the calibrated response curve data in the electronic device to calibrate the electronic device.

Those skilled in the art will appreciate the scope of the disclosure and realize additional aspects thereof after reading the following detailed description in association with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings incorporated in and forming a part of this specification illustrate several aspects of the disclosure, and together with the description serve to explain the principles of the disclosure.

FIG. 1A depicts an example embodiment of an RF device having a power amplifier controller used to control the output power of an RF power amplifier.

FIG. 1B depicts another example embodiment an RF device having a power amplifier controller used to control the output power of a RF power amplifier.

FIG. 1C depicts yet another example embodiment of an RF device having a power amplifier controller used to control the output power of a RF power amplifier.

FIG. 2A depicts a first example embodiment of a calibration system for calibrating an RF device.

FIG. 2B depicts a second example embodiment of a calibration system for calibrating an RF device.

FIG. 3 depicts a relationship between a nominal power detector curve, an uncalibrated power detector curve and a power detector error function.

FIG. 4 depicts an example method for calibrating an RF device that uses a non-linear power detector to control the power output of an RF power amplifier.

FIG. 5 depicts an embodiment of an example electronic device.

FIG. 6 depicts an example method for calibrating an electronic device that is based upon a response of the electronic device under test and a nominal response curve data set.

DETAILED DESCRIPTION

The embodiments set forth below represent the necessary information to enable those skilled in the art to practice the disclosure and illustrate the best mode of practicing the disclosure. Upon reading the following description in light of the accompanying drawings, those skilled in the art will understand the concepts of the disclosure and will recognize applications of these concepts not particularly addressed herein. It should be understood that these concepts and applications fall within the scope of the disclosure and the accompanying claims.

Embodiments disclosed herein relate to apparatuses, computer readable media, and methods to quickly calibrate radio frequency devices that use a non-linear power detector to control the output power of a radio frequency power amplifier. As an example, one embodiment of a method for calibrating an electronic device includes providing a nominal data set including a plurality of nominal response data points. The plurality of nominal response data points may include a plurality of nominal input levels and a corresponding plurality of nominal output levels that characterize a desired response curve for the electric device. The method may further include obtaining a plurality of measured response data points, wherein each of the measured response data points includes a measured input level and a measured output level that corresponds to the measured input level. The method may further include adjusting the nominal data set based on the measured response data points and the nominal data set to generate a calibrated data set. The method may further include storing the calibrated data set in the electronic device to calibrate the electronic device. Another embodiment of a system for calibrating a non-linear power detector of a radio frequency device may use measurements of the non-linear power detector output and the associated RF power amplifier output level and a set of data points that characterizes a nominal non-linear power detector to calibrate the radio frequency device. The set of data points that characterizes the nominal non-linear power detector may be stored in a memory of a calibration system as nominal power detector output data. The measured non-linear power detector outputs, measured power amplifier output levels, and the nominal power detector output data may be used to determine a power detector error function that characterizes the difference between the response of the non-linear power detector and the nominal non-linear power detector. The power detector error function and the nominal power detector output data may be used to develop a calibrated power detector output data set. The calibrated power detector output data may be stored in the non-linear power detector in order to calibrate the non-linear power detector.

FIG. 1A depicts an example embodiment of an RF device 10A having a power amplifier controller 12A used to control the output power of an RF power amplifier 14. The RF power amplifier is configured to receive an RF input signal, RF_(IN), and provide an RF output signal, RF_(OUT). The RF power amplifier 14 is coupled through an RF coupler 16 to an antenna 18. The coupler 16 senses the RF output signal, RF_(OUT), and provides an input to the power amplifier controller 12A. The power amplifier controller 12A further includes a control interface 20, which may be used to control the operation of the power amplifier controller 12A. The power amplifier controller 12A may provide a power level control signal 22 to the RF power amplifier 14. The power level control signal 22 may be used to govern the output power level of the RF power amplifier 14. The output power level of the RF power amplifier 14 may be referred to as a power amplifier output level.

The power amplifier controller 12A includes a processor 24 coupled to a memory 26. The processor 24 may be in communication with the control interface 20 and configured to provide a digital V_(RAMP) signal, V_(RAMP) _(—) _(D), to a digital-to-analog converter (D/A), 28. The processor 24 may control the output power level of the RF power amplifier 14 by setting the value of the digital V_(RAMP) signal, V_(RAMP) _(—) _(D). The processor may include control logic, state machines, programmable logic devices, discrete gates or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices. As an example, a combination of computing devices may include a combination of a Digital Signal Processor (DSP) and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.

The memory 26 may include Random Access Memory (RAM), flash memory, Read Only Memory (ROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), registers, and/or other types of memory as known in the art.

The digital-to-analog converter (D/A) 28 generates a V_(RAMP) signal for controlling the power output level of the RF power amplifier 14. The V_(RAMP) signal may represent a signal that contains the required supply modulation information for a power amplifier collector of the RF power amplifier 14, and is used to generate the power level control signal 22. During normal operation of the RF device 10A, the digital V_(RAMP) signal, V_(RAMP) _(—) _(D), may be generated in order to set the RF output signal, RF_(OUT) to a desired output power level during transmission of the RF input signal, RF_(IN). During calibration, the digital V_(RAMP) signal, V_(RAMP) _(—) _(D), may be set via the control interface 20 in order to instruct the RF power amplifier 14 to output a desired output power level into a load such as an antenna 18. The digital V_(RAMP) signal, V_(RAMP) _(—) _(D), may be based upon a known RF modulation Amp(t)*cos(2*pi*f_(RF)*t+Phase(t)). The digital V_(RAMP) signal, V_(RAMP) _(—) _(D), may represent a target supply voltage to be provided to the RF power amplifier 14.

The power amplifier controller 12A further includes an integrator amplifier 30 and a non-linear power detector 32. The integrator amplifier 30 may include a non-inverting input (+) and an inverting input (−). The integrator amplifier 30 may be configured to receive the V_(RAMP) signal from the digital-to-analog converter 28 and a power detector output voltage, V_(DET). The power detector output voltage, V_(DET), represents the output power level of the RF power amplifier 14 as provided by the RF coupler 16 to the linear power detector 32. The integrator amplifier 30 may be configured to provide the power level control signal 22 to the RF power amplifier 14. The non-linear power detector 32 may be in communication with the coupler 16. The RF coupler 16 senses the RF output signal, RF_(OUT), and provides a sensed RF_(OUT) signal 34 to the non-linear power detector 32. Based upon the sensed RF_(OUT) signal, the non-linear power detector 32 generates power detector output voltage, V_(DET). The integrator amplifier 30 integrates the difference between the V_(RAMP) signal and the power detector output voltage, V_(DET), to generate the power level control signal 22. The integrator amplifier 30 may be configured to drive the difference between the V_(RAMP) signal and the power detector output voltage, V_(DET), to zero in order to set the desired output power level of the RF power amplifier 14.

In some embodiments of the RF device 10A, the power detector output voltage, V_(DET), may be provided to an external pin of the RF device 10A for use during calibration. In other embodiments of the RF device 10A, the power detector output voltage, V_(DET), is not provided to an external pin of the RF device 10A. In this case, during calibration of the RF device 10A, the value of the V_(RAMP) signal may be used as a proxy for the power detector output voltage, V_(DET), and it is assumed that the integrator amplifier 30 does not have a significant offset error between the non-inverting input of the integrator amplifier 30 and the inverting input of the integrator amplifier 30.

The memory 26 may be configured to store calibrated power detector output data. The calibrated power detector output data represents the response of the non-linear power detector 32 as determined during calibration of the RF device 10A. The calibrated power detector output data may include calibrated power detector outputs, V_(DET) _(—) _(CAL), and the power amplifier output levels associated with the calibrated power detector output, V_(DET) _(—) _(CAL). Each of the calibrated power detector outputs, V_(DET) _(—) _(CAL), represent a power detector output voltage, V_(DET), that the non-linear power detector 32 generates for a particular power amplifier output power level sensed by the RF coupler 16. The processor 24 may use the calibrated detector output data to set the value of the digital V_(RAMP) signal, V_(RAMP) _(—) _(D), during operation of the RF device 10A.

FIG. 1B depicts another example embodiment of an RF device 10B having a power amplifier controller 12B used to control the output power of an RF power amplifier 14. The power amplifier controller 12B is similar to the power amplifier controller 12A except that the power amplifier controller 12B may further include an analog-to-digital converter 36 configured to receive the power detector output voltage, V_(DET). The analog-to-digital converter 34 digitizes the power detector output voltage, V_(DET), to generate a digital power detector output voltage signal, V_(DET) _(—) _(D). The analog-to-digital converter 36 may be configured to provide the digital power detector output voltage signal, V_(DET) _(—) _(D), to the processor 24. During calibration of the RF device 10B, the value of the digital power detector output voltage signal, V_(DET) _(—) _(D), may be provided to an externally coupled device (not shown) via the control interface 20. Otherwise, operation of the power amplifier controller 12B is similar to the power amplifier controller 12A depicted in FIG. 1A.

FIG. 1C depicts yet another example embodiment of an RF device 10C having a power amplifier controller 12C used to control the output power of an RF power amplifier 14. The power amplifier controller 12C is similar to the power amplifier controller 12B, except the power amplifier controller 12C does not include the integrator amplifier 30, as depicted in FIG. 1B.

Instead, the power amplifier controller 12C includes a V_(RAMP) buffer amplifier 38 configured to receive the V_(RAMP) signal from the digital-to-analog converter 28. The V_(RAMP) buffer amplifier 38 provides a power level control signal 22 to the RF power amplifier 14. The processor 24 uses the digital power detector output voltage signal, V_(DET) _(—) _(D), to determine a difference between the sensed RF_(OUT) signal 34 and a desired output power level of the power amplifier 14. The processor 24 then changes the value of the digital power detector output voltage signal, V_(DET) _(—) _(D), to minimize the difference between the sensed RF_(OUT) signal 34 and a desired output power level of the power amplifier 14.

Referring to FIGS. 1A, 1B, and 1C, in some example embodiments, the RF devices 10A, 10B, and 10C may be a mobile terminal. In other example embodiments, the RF devices 10A, 10B, and 10C, may be computing devices. In still other example embodiments, the RF devices 10A, 10B, and 10C, may be mobile telephones.

FIG. 2A depicts a first example embodiment of a calibration system 40A for calibrating an RF device 44A having a non-linear power detector. The calibration system 40A may include a calibration controller 42A, a power meter 46, and a voltmeter 48. The calibration system 40A may be configured to receive an RF device 44A to be calibrated and configured. As an example, the calibration system 40A may be installed in a factory and configured to calibrate RF devices during final assembly and inspection.

The calibration controller 42A may include a control interface 20 coupled to the RF device 44A. The RF device 44A may be similar to the RF device 10A of FIG. 1A, which provides the power detector output voltage, V_(DET), at an external pin for use during calibration. The RF output signal, RF_(OUT), of the RF device 44A is in communication with the power meter 46. In some embodiments of the calibration system 40A, the RF output signal, RF_(OUT), of the RF device 44A is coupled to the power meter 46 via a controlled impedance line 50. The impedance of the controlled impedance line 50 and the input impedance of the power meter 46 may be configured to match the expected impedance of the antenna of the RF device 44A. As an example, the controlled impedance line 50 and the input impedance of the antenna of the RF device 44A may be configured to match a 50 ohm load. In this case, the antenna of the RF device 44A is either not yet installed or temporarily removed from the antenna port (not shown) of the RF device 44A. A controlled impedance line 50 is then attached to an antenna port (not shown) of the RF device 44A. The antenna port of the RF device 44A may be configured to receive the antenna. In other embodiments of the calibration system 40A, the RF device 44A is wirelessly coupled to the power meter 46. In this case, the power meter 46 includes an antenna (not shown) for receiving the RF output signal, RF_(OUT), of the RF device 44A to be calibrated.

The power meter 46 may be configured to receive the RF output signal, RF_(OUT). Based upon the received RF output signal, RF_(OUT), the power meter 46 may be configured to provide a measured output power level, P_(OUT), of the transmitted power of the RF output signal, RF_(OUT), to the calibration controller 42A via a first communication interface 52. In some embodiments, the measured power amplifier output power level, P_(OUT), may be provided to the calibration controller 42A in terms of power amplifier output voltage, V_(OUT), which is the root-mean-square (RMS) voltage developed across the load that receives the RF output signal, RF_(OUT). In some embodiments of the calibration controller 42A, the measured power amplifier output power level, P_(OUT), is translated into terms of the power amplifier output voltage, V_(OUT).

The voltmeter 48 may be configured to couple to the RF device 44A and receive the power detector output voltage, V_(DET). The voltmeter 48 may be coupled to the calibration controller 42A via a second communication interface 54. The voltmeter 48 measures the received power detector output voltage, V_(DET), and provides a measured value of the power detector output voltage, V_(DET), to the calibration controller.

As will be described below, the calibration controller 42A may be configured to use the measured output power level, P_(OUT), and the measured value of the power detector output voltage, V_(DET) to calibrate the RF device 44A. The calibration controller 42A may include a computer or processor having memory. The computer or processor may include a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic devices. The memory of the calibration controller 42A may be embodied in hardware and in instructions that are stored in memory, and may reside, for example, in Random Access Memory (RAM), flash memory, Read Only Memory (ROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of computer readable medium known in the art. Instructions stored in the memory may include computer executable program code. An exemplary storage medium may be coupled to the processor such that a processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a remote station. In the alternative, the processor and the storage medium may reside as discrete components in a remote station, base station, or server. The calibration controller 42A may include hardware and/or instructions to execute or embody operational steps to be carried out by the calibration controller 42A. The operational steps to calibrate the RF device 44A may be performed in numerous different sequences. Furthermore, operations may actually be performed in a number of different steps.

The memory of the calibration controller 42A may include nominal power detector output data. The nominal power detector output data represents the expected nominal input-output relationship of a nominal non-linear power detector of a nominal RF device 44A. FIG. 3 depicts a nominal power detector curve (solid line) that may be generated based upon the nominal power detector output data. The nominal power detector curve (solid line) may include a nominal power detector output voltage, V_(NOM)(V_(OUT)), of FIG. 3, for each output power level that the RF device 44A is expected to generate. As an example, the nominal power detector output data may include a nominal power detector output voltage, V_(NOM)(V_(OUT)), for each power level specified in the European Telecommunication Standard Institute (ETSI) standard for the RF device 44A to be calibrated. As a further example, the nominal power detector output data may include a nominal power detector output voltage, V_(NOM)(V_(OUT)), of FIG. 3, for each nominal power amplifier output level, V_(OUT) _(—) _(NOM), to be generated by the power amplifier of the RF device 44A. The relationship between the nominal power detector output voltage, V_(NOM)(V_(OUT) _(—) _(NOM)), and the nominal power amplifier output levels, V_(OUT) _(—) _(NOM), provide the nominal power detector curve (solid line) and represent an expected performance of the non-lineal power detector of the RF device 44A. As an example, the first nominal power detector output voltage, V_(NOM1), corresponds to a first nominal power amplifier output level, V_(OUT) _(—) _(NOM1). The second nominal power detector output voltage, V_(NOM2), corresponds to a second nominal power amplifier output level, V_(OUT) _(—) _(NOM2). The third nominal power detector output voltage, V_(NOM3), corresponds to a third nominal power amplifier output level, V_(OUT) _(—) _(NOM3).

FIG. 2B depicts a second example embodiment of a calibration system 40B for calibrating an RF device 44B having a non-linear power detector. The calibration system 40B is similar to the calibration system 40A, of FIG. 2A, except that the calibration system 40B is configured to calibrate an RF device 44B that does not provide the power detector output voltage, V_(DET), to an external pin that may be measured by a voltmeter. An example of the RF device 44B that does not provide the power detector output voltage, V_(DET), to an external pin may include the RF device 10B of FIG. 1B or the RF device 10C of FIG. 1C. Instead, the calibration system 40B may be configured to read or receive the digital power detector output voltage signal, V_(DET) _(—) _(D), generated by the analog-to-digital converter 36. The calibration system 40B uses the value of the digital power detector output voltage signal, V_(DET) _(—) _(D), as the measured value of the power detector output voltage, V_(DET).

Another example of an RF device 44B that does not provide the power detector output voltage, V_(DET), to an external pin may include an embodiment of the RF device 44A of FIG. 2A that does not provide the power detector output voltage, V_(DET), to an external pin. Instead, the calibration system 40B uses the value of the V_(RAMP) signal as a proxy for the power detector output voltage, V_(DET).

The calibration system 40B may include another embodiment of a calibration controller 42B. The calibration controller 42B is similar to the calibration controller 42A except there may not include a second communication interface 54 adapted to interface with a voltmeter. In addition, the calibration controller 42B may be configured to control the processor or access the memory of the RF device 44B that is to be calibrated. The calibration controller 42B may obtain the digital power detector output voltage signal, V_(DET) _(—) _(D), from either the processor 24 or memory 26 of the RF device 44B.

FIG. 3 further depicts a relationship between the nominal power detector curve (solid line), an uncalibrated power detector curve (dashed line), and a power detector error function. FIG. 3 will now be explained with continuing reference to the RF device 10A of FIG. 1A, the RF device 10B of FIG. 1B, or the RF device 10C of FIG. 1C. The uncalibrated power detector curve (dashed line) represents the input-output relationship of the non-linear power detector 32 of the RF device 10A, 10B, 10C, to be calibrated. FIG. 3 further includes a first measurement point, MP₁, a second measurement point, MP₂, and a third measurement point, MP₃. The first measurement point, MP₁, may represent the power detector output voltage, V_(DET1), generated by the non-linear power detector 32 when the power amplifier 14 of the RF device 10A, 10B, 10C, generates a first power amplifier output power level, V_(OUT1). The second measurement point, MP₂, may represent the power detector output voltage, V_(DET2), generated by the non-linear power detector 32 when the power amplifier 14 of the RF device 10A, 10B, 10C, generates a second power amplifier output power level, V_(OUT2). The third measurement point, MP₃, may represent the power detector output voltage, V_(DET3), generated by the non-linear power detector 32 when the power amplifier 14 of the RF device 10A, 10B, 10C, generates a third power amplifier output power level, V_(OUT3).

FIG. 4 depicts an example method 100 for calibrating an RF device that uses a non-linear power detector to control the output power level of an RF power amplifier. Method 100 of FIG. 4 will be discussed with continuing reference to FIGS. 2A, 2B, and 3. A calibration system 40A, 40B, may provide nominal power detector output data for a non-linear power detector of an RF device 10A, 10B, 10C, (102). The nominal power detector output data may be stored in the calibration controller 42A, 42B, of the calibration system 40A, 40B. To begin calibrating the RF device 44A, 44B, the calibration controller 42A, 42B may instruct the RF device 44A, 44B, via the control interface 20 to generate various power amplifier output power levels, (104). For example, the calibration controller 42A, 42B, may instruct the RF device 44A, 44B, to generate an RF output, RF_(OUT), at a first power amplifier output power level, V_(OUT1), a second power amplifier output power level, V_(OUT2), and a third power amplifier output power level, V_(OUT3), as depicted in FIG. 3. The first power amplifier output power level, V_(OUT1), may correspond to a low power level. The second power amplifier output power level, V_(OUT2), may correspond to a medium power level. The third power amplifier output power level, V_(OUT3), may correspond to a high power level. In some embodiments, the calibration controller 42A, 42B, may instruct the RF device 44A, 44B to generate an RF output, RF_(OUT), at a lower power level and a high power level.

For each of the power amplifier output levels generated by the radio frequency device, the calibration controller 42A, 42B may obtain a power detector output voltage, V_(DET), of the radio frequency device 44A, 44B, and a power amplifier output power level, V_(OUT), for each power amplifier output level generated at the RF output, RF_(OUT), of the RF device 44A, 44B, (106). For example, the calibration controller 42A may obtain the measured power detector output voltages, V_(DET1), V_(DET2), and V_(DET3), (depicted in FIG. 3) from the voltmeter 48, where the measured power detector output voltages, V_(DET1), V_(DET2), and V_(DET3), which correspond to the measured power amplifier output voltage levels, V_(OUT1), V_(OUT2), and V_(OUT3), respectively. As another example, the calibration controller 42B may obtain the measured power detector output voltages, V_(DET1), V_(DET2), and V_(DET3), from either the memory or the processor of the RF device 44B. In the case where the RF device 44A does not include an external pin or an analog-to-digital converter to provide the power detector output voltage, V_(DET), the calibration controller 42A may use the value of digital V_(RAMP) signal, V_(RAMP) _(—) _(D), used to generate the V_(RAMP) signal as the measured power detector output voltages, V_(DET1), V_(DET2), and V_(DET3), generated by the non-linear power detector of the RF device 44A. For example, the calibration controller 42A may provide a value of a target supply voltage for each of the plurality of power amplifier output levels to be generated by the power amplifier of the RF device. For example, referring to FIG. 1A, the target supply voltage may be the digital value of the digital V_(RAMP) signal, V_(RAMP) _(—) _(D), that the processor 24 provides to the digital-to-analog converter 28 in order to generate a desired V_(RAMP).

As another example, the calibration controller 42A, 42B, may obtain the power amplifier output level, V_(OUT), for each power amplifier output level that the RF device, 44A, 44B, generates based upon the instructions from the calibration controller 42A, 42B, from the power meter 46. The power meter 46 may measure the power amplifier output level at the antenna port of the RF device 44A, 44B. Alternatively, the power meter 46 may measure the radiated power amplifier output level generated by the antenna of the RF device 44A, 44B.

The calibration controller 42A, 42B, may be configured to associate each measured power detector output voltage, V_(DET1), V_(DET2), and V_(DET3), to one of the nominal power detector output voltages, V_(NOM), of the nominal power detector output data based upon the respective measured power amplifier output voltage levels, V_(OUT1), V_(OUT2), and V_(OUT3), that correspond to the measured power detector output voltage, V_(DET1), V_(DET2), and V_(DET3), (108). For example, in the case where the measured power amplifier output voltage levels, V_(OUT1), V_(OUT2), and V_(OUT3), provide greater resolution than the nominal power detector output data, the calibration controller 42A, 42B, may round the measured power amplifier output voltage levels, V_(OUT1), V_(OUT2), and V_(OUT3), to have the same resolution as provided by the nominal power detector output data stored in the calibration controller 42A, 44B. After the rounding operation, the calibration controller 42A, 42B, matches each of the measured power amplifier output voltage, V_(OUT1), V_(OUT2), and V_(OUT3), to a respective nominal power amplifier output level, V_(OUT) _(—) _(NOM1), V_(OUT) _(—) _(NOM2), and V_(OUT) _(—) _(NOM3), of the nominal power detector output data, as depicted in FIG. 3. As an example, depicted in FIG. 3, for the first measuring point, MP₁, V_(OUT1) is matched to V_(OUT) _(—) _(NOM1). For the second measuring point, MP₂, V_(OUT2) is matched to V_(OUT) _(—) _(NOM2). For the third measuring point, MP₃, V_(OUT3) is matched to V_(OUT) _(—) _(NOM3). Thereafter, the measured power detector output voltages, V_(DET1), V_(DET2), and V_(DET3), may then be compared to the nominal power detector output voltages, V_(NOM1), V_(NOM2), and V_(NOM3), that correspond to the nominal power amplifier output power levels, V_(OUT) _(—) _(NOM1), V_(OUT) _(—) _(NOM2), and V_(OUT) _(—) _(NOM3), respectively.

A power detector output error, Δ(V_(OUT)), for each of the measured power detector output voltages, V_(DET1), V_(DET2), and V_(DET3), may then be calculated (110). For example, a first power detector output error, Δ1, is the difference between the first measured power detector output voltage, V_(DET1), and the nominal power detector output voltage, V_(NOM1). A second power detector output error, Δ2, is the difference between the second power detector output voltage, V_(DET2), and the nominal power detector output voltage, V_(NOM2). The third power detector output error, Δ3, is the difference between the first power detector output voltage, V_(DET3), and the nominal power detector output voltage, V_(NOM3).

Thereafter, a power detector error, Δ(V_(OUT)), for each of the nominal power detector output voltages contained in the nominal power detector output data may be calculated based on the measured power detector errors, Δ1, Δ2, Δ3, (112). As an example, a power detector output error function, F(V_(OUT)), for the RF device 44A, 44B being calibrated may be determined based upon the power detector output errors, Δ1, Δ2, Δ3, and the nominal power amplifier output levels, V_(OUT) _(—) _(NOM1), V_(OUT) _(—) _(NOM2), V_(OUT) _(—) _(NOM3), associated with the power detector output errors, Δ1, Δ2, Δ3. The power detector output error function, F(V_(OUT)), may be a piece-wise linear function. As an example, the power detector output function, F(V_(OUT)), may characterize the power detector output errors based upon a set of linear functions, F₁(V_(OUT)) and F₁(V_(OUT)), depicted in FIG. 3, where

F ₁(V _(OUT))=[(Δ2−Δ1)/(V _(OUT) _(—) _(NOM2) −V _(OUT) _(—) _(NOM1))]*(V _(OUT) −V _(OUT) _(—) _(NOM1))+Δ1, for V _(out) ≦V _(OUT) _(—) _(NOM2), and

F ₂(V _(OUT))=[(Δ3−Δ2)/(V _(OUT) _(—) _(NOM3) −V _(OUT) _(—) _(NOM2))]*(V _(OUT) −V _(OUT) _(—) _(NOM2))+Δ2, V _(out) >V _(OUT) _(—) _(NOM2).

In some embodiments, the power detector output error function, F(V_(OUT)), may be a line based upon only two measured data points. As an example, in the case where the calibration controller 42A, 42B, only instructs the RF device 44A, 44B to generate an RF output, RF_(OUT), at a lower power level and a high power level, power detector output error function, F(V_(OUT)), may be a linear function F(V_(OUT))′ as follows:

F(V _(OUT))′=[(Δ3−Δ1)/(V _(OUT) _(—) _(NOM3) −V _(OUT) _(—) _(NOM1))]*(V _(OUT) −V _(OUT) _(—) _(NOM1))+Δ1.

Using the calculated power detector errors provided by the power detector output function, and the measured power detector errors, Δ1, Δ2, Δ3, the calibration controller 42A, 42B, may generate a calibrated power detector output data for the RF device, 44A, 44B, being calibrated, (114). The calibrated power detector output data may be generated by shifting the nominal power detector output voltages, V_(NOM)(V_(OUT)), stored in the nominal power detector output data by an amount equal to the calculated power detector errors. The calibrated power detector output voltages, V_(DET) _(—) _(CAL)(V_(OUT)), may be calculated as follows:

V _(DET) _(—) _(CAL)(V _(OUT))=V _(NOM)(V _(OUT))+F ₁(V _(OUT)), for V _(OUT) −V _(OUT) _(—) _(NOM2),

and

V _(DET) _(—) _(CAL)(V _(OUT))=V _(NOM)(V _(OUT))+F ₂(V _(OUT)), V _(OUT) >V _(OUT) _(—) _(NOM2), and

where V_(NOM)(V_(OUT)) represents the nominal power detector output voltages for each nominal output power level specified in the nominal power detector output data.

In some embodiments of method 100, for example where the calibration controller 42A, 42B, only instructs the RF device 44A, 44B to generate an RF output, RF_(OUT), at a lower power level and a high power level, the calculated power detector output voltage, V_(DET) _(—) _(CAL)(V_(OUT))′, may be calculated as follows:

V _(DET) _(—) _(CAL)(V _(OUT))=V _(NOM)(V _(OUT))+F(V _(OUT))′.

The calibration controller 42A, 42B, stores the calibrated power detector output data in the memory of RF device 44A, 44B, to calibrate the RF device, 44A, 44B, (116). For example, referring to FIGS. 1A, 1B, and 1C, the calibrated power detector output data may be stored in the memory 26 associated with the processor 24 via the control interface 20. Similar to the nominal power detector output data stored in the calibration controller 42A, 42B, the calibrated power detector output data may include a calculated power detector output voltage, V_(DET) _(—) _(CAL), and an associated nominal power amplifier output, V_(OUT) _(—) _(NOM), for each of the nominal power detector outputs, V_(NOM), contained in the nominal power detector output data.

FIG. 5 depicts an example embodiment of an electronic device 118 having a control circuit 120, an output circuit 122, and a feedback circuit 124. In some embodiments, the feedback circuit 124 may be a non-linear feedback circuit. The control circuit 120 may be configured to couple to a control interface 126 by which a calibration system (not shown) may control the electronic circuit 118. The control circuit 120 may include a memory 26 in which calibrated response curve data of the feedback circuit 124 may be stored. The control circuit 120 may include a process or processor control logic, discrete or integrated control logic, registers, analog controllers, analog amplifiers, integrators, and/or other circuitry that would normally be present in a control circuit 120 of an electronic circuit known in the art.

The control circuit 120 may provide a control signal 128 to the output circuit 122. The control circuit 120 may receive a feedback output 130 from the feedback circuit 124. The control signal 128 provided by the control circuit 120 may be based, at least in part, on the feedback output 130 provided by the feedback circuit 124.

The output circuit 122 may be configured to provide an output voltage and/or current to the device output 132 of the electronic circuit 118 based at least in part on the control signal 126 received from the output circuit 122. The feedback circuit 124 may be in communication with the output circuit 122 and configured to receive an indication of the device output 132 of the electronic circuit 118 generated by the output circuit 122. The indication of the device output 132 of the electronic circuit 118 may be a voltage or a current. The indication of the device output 132 of the electronic circuit 118 may provide an indication of a power level delivered by the output circuit 122 to a load (not shown). The indication of the device output 132 of the electronic circuit 118 may be either directly or indirectly obtained from the indication of the device output 132 of the electronic circuit 118. For example, the indication of the device output of the electronic circuit 118 may be generated by a current mirror or a coupler in order to sense a current output generated by the output circuit 112.

The feedback circuit 124 generates a feedback output 130 based upon the indication of the device output 132 of the electronic circuit 118. The nominal relationship between the indication of the device output 132 of the electronic circuit 118 and the feedback output 130 generated by the feedback circuit 124 may be characterized by nominal response curve data. The nominal response curve data may include a set of data points that characterize the nominal or expected behavior of a nominal feedback circuit 124. For example, the nominal response curve data may include a nominal feedback output associated with a nominal indication of the device output 132 of the electronic circuit 118 for each data point in the set of data points that makes up the nominal response curve data. The nominal response curve data may be used by a calibration system (not shown) to generate a calibrated response curve data for each electronic circuit 118 built by in a factory. At calibration time, the calibrated response curve data may be stored in the memory of the control circuit 120 to calibrate the electronic circuit 118. During normal operation of the electronic circuit 118, the control circuit 120 may use the calibrated response curve data to generate the control signal provided to the output circuit 122.

The calibration system (not shown) for calibrating the electronic circuit 118 may include a computer or processor and measurement devices for measuring the device output of the electronic circuit 118. The calibration system (not shown) for the electronic circuit 118 may store the nominal response curve data for the electronic circuit 118 in a memory associated with the computer or processor of the calibration system (not shown).

FIG. 6 depicts an example method 200 for calibrating an electronic device 188 that is based upon a response of the electronic device 118 under test and a nominal response curve data stored in the calibration system (not shown). The nominal response curve data may be for a non-linear feedback circuit. The example method 200 is described below with continuing reference to the electronic circuit 118 of FIG. 5.

The nominal response curve data for the calibration system (not shown) of the electronic device 118 may be provided to the calibration system (not shown), (202), and stored in the calibration system. The nominal response curve data may include nominal feedback outputs and nominal device outputs, where each of the nominal feedback outputs is associated with one of the nominal device outputs.

The calibration system (not shown) may instruct the electronic device 118 to generate several device output levels of interest during the calibration process. (204). The several device output levels may reflect low, medium, and high output levels generated by the output circuit 122 of the electronic circuit 118.

For each device output level generated by the electronic circuit 118, the calibration system may obtain a measured feedback output of the feedback circuit 124 and a measured device output of the electronic device 118, (206). The measured feedback output of the feedback circuit 124 may be either directly measured by the calibration system or obtained from the control circuit 120 via the control interface of the control circuit 120. Each measured feedback output of the feedback circuit 124 and measured device output corresponds to one of the several device output levels generated by the electronic circuit 118. In addition, each measured device output of the electronic device 118 may be associated with one of the several device output levels.

For each device output level, the calibration system associates the measured feedback output of the feedback circuit 124 to one of the nominal feedback outputs of the nominal response curve data based upon a correspondence between the measured device output of the electronic device 118 and one of the nominal feedback outputs of the nominal response curve data, (208). For example, to determine the correspondence between the measured device output of the electronic device 118 and one of the nominal feedback outputs of the nominal response curve data, the calibration system matches each measured device output to one of the nominal device outputs in the nominal response curve data.

For each measured feedback output, the calibration system (not shown) calculates a feedback output error based upon a difference between the measured feedback output and the one of the nominal feedback outputs stored in the nominal response curve data that is associated with the measured feedback output, (210). Each feedback output error may be associated with the one of the nominal device outputs based upon the association of each nominal feedback output to a nominal device output in the set of data points of the nominal response curve data.

The calibration system (not shown) for the electronic circuit 118 may determine a feedback error function for the feedback circuit 124 based upon the feedback output errors calculated by the calibration system (not shown) and the associated ones of the nominal device outputs of the nominal response curve data, (212). In some embodiment of the electronic circuit 118, the feedback error function may be a linear function. In other embodiment of the electronic circuit 118, a piecewise-linear function may be used as the feedback error function.

For each nominal device output provided by the nominal response curve data, the calibration system (not shown) may generate calibrated response curve data based upon the nominal response curve data and the feedback error function, (214). The calibrated response curve data may include a calibrated feedback output and an associated nominal device output for each nominal device output of the nominal response curve data. For example, to generate one of the calibrated feedback outputs of the calibrated response curve data, the calibration system may add the output of the feedback error function to the nominal feedback output for a nominal device output level of the nominal response curve data.

The calibration system (not shown) for the electronic circuit 118 stores the calibrated response curve data in the electronic device 118 to calibrate the electronic device 118, (216). The calibrated response curve data may be stored in the memory of the electronic device 118.

Those skilled in the art will recognize improvements and modifications to the embodiments of the present disclosure. All such improvements and modifications are considered within the scope of the concepts disclosed herein and the claims that follow. 

What is claimed is:
 1. A method for calibrating an electronic device comprising: providing a nominal data set including a plurality of nominal response data points, wherein the plurality of nominal response data points includes a plurality of nominal input levels and a corresponding plurality of nominal output levels that characterize a desired response curve for the electronic device; obtaining a plurality of measured response data points, wherein each of the plurality of measured response data points includes a measured input level and a measured output level that corresponds to the measured input level; adjusting the nominal data set based on the plurality of measured response data points and the nominal data set to generate a calibrated data set; and storing the calibrated data set in the electronic device to calibrate the electronic device.
 2. The method of claim 1 wherein obtaining the plurality of measured response data points, wherein each of the plurality of measured response data points includes the measured input level and the measured output level that corresponds to the measured input level comprises, for each measured response data point of the plurality of measured response data points: instructing the electronic device to generate an output level based upon an input level; determining the input level to obtain the measured input level; and determining the output level to obtain the measured output level.
 3. The method of claim 1 wherein the plurality of measured response data points includes a low power level generated by the electronic device, a medium power level generated by the electronic device, and a high power level generated by the electronic device.
 4. The method of claim 1 wherein adjusting the nominal data set based on the plurality of measured response data points and the nominal data set to generate the calibrated data set comprises determining an output error function for the electronic device based upon differences between the plurality of measured response data points and the nominal response data points that correspond to the plurality of measured response data points.
 5. The method of claim 4 wherein determining the output error function for the electronic device based upon the differences between the plurality of measured response data points and the nominal response data points that correspond to the plurality of measured response data points comprises: for each of the plurality of measured response data points: associating the measured input level to one of the plurality of nominal input levels in the nominal data set; and calculating a calculated output error of a plurality of calculated output errors based upon a difference between the measured output level that corresponds to the measured input level and a nominal output level of the plurality of nominal output levels that corresponds to the associated one of the plurality of nominal input levels in the nominal data set.
 6. The method of claim 5 further comprising: determining one or more linear equations to characterize the plurality of calculated output errors based on the plurality of calculated output errors.
 7. The method of claim 4 further comprises, for each one of the plurality of nominal response data points: calculated output error of the electronic device based upon the output error function of the electronic device; and adding the calculated output error to the nominal output level of the one of the plurality of nominal response data points to generate a calibrated output level. 